package com.wolfpire.workflow.om;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.wolfpire.system.common.Constants;

/**
 * 审批操作表
 * @author liushx
 *
 */
@Entity
@Table(name = "wf_operate")
public class Operate implements Serializable{
	
	private static final long serialVersionUID = -4474274376222077586L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "OPERATE_ID", unique = true, nullable = false, length = 16)
	private Long operateId;
	
	@Column(name = "WORKFLOW_ID", length = 8)
	private Long workFlowId;
	
	@Column(name = "OPERATE_NAME")
	private String operateName;
	
	@Column(name = "OPERATE_EVENT")
	private String operateEvent;
	
	@Column(name = "STATUS")
	private String status = Constants.NORMAL_FLAG.toString();
	
	@Column(name = "REMARKS")
	private String remarks;
	
	@Column(name = "ICONCLS")
	private String iconCls;
	
	@Column(name = "SHOWTYPE")
	private String showType;
	
	@Column(name = "SKIPNODE")
	private String skipNode;   //跳转流程节点的名称

	public Long getOperateId() {
		return operateId;
	}

	public void setOperateId(Long operateId) {
		this.operateId = operateId;
	}

	public String getOperateName() {
		return operateName;
	}

	public void setOperateName(String operateName) {
		this.operateName = operateName;
	}

	public String getOperateEvent() {
		return operateEvent;
	}

	public void setOperateEvent(String operateEvent) {
		this.operateEvent = operateEvent;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	
	public String getSkipNode() {
		return skipNode;
	}

	public void setSkipNode(String skipNode) {
		this.skipNode = skipNode;
	}

	public String getShowType() {
		return showType;
	}

	public void setShowType(String showType) {
		this.showType = showType;
	}

	public Long getWorkFlowId() {
		return workFlowId;
	}

	public void setWorkFlowId(Long workFlowId) {
		this.workFlowId = workFlowId;
	}
	
	
}
